/**
 * author: huangyu
 * 暂无数据组件
 */
import React, { Component } from 'react';
import './NoData.scss';
export default class NoData extends Component {
    constructor(props) {
        super(props);
        this.state = {
            showAni: false
        };
    }
    componentDidMount() {
        let { show } = this.props;
        this.setState({
            showAni: show
        });
    }
    render() {
        return (
            <div className="no-data">
                <div className="img"></div>
                <p>很抱歉</p>
                <span className="desc">没有找到符合条件的内容</span>
            </div>
        );
    }
}
